<!DOCTYPE html>
<html xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
	<title>提现申请</title>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
	<link rel="stylesheet" href="../../css/bootstrap.min.css">
	<link rel="stylesheet" href="../../css/font-awesome.min.css">
	<link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
	<link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
	<link rel="stylesheet" href="../../css/main.css">
	<link rel="stylesheet" href="../../css/layui.css">
	<script src="../../libs/jquery.min.js"></script>
	<script src="../../plugins/layer/layer.js"></script>
	<script src="../../libs/bootstrap.min.js"></script>
	<script src="../../libs/vue.min.js"></script>
	<script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
	<script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
	<script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
	<script src="../../js/common.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<div class="form-group col-sm-2">
				<select v-model="withdraw.status" id="select_div" style="width: 200px" @change="cateName">
					<option selected  value="">全部</option>
					<option v-for="sel in sels" v-bind:value="sel.value">{{sel.week}}</option>
				</select>
			</div>
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.applyphone" @keyup.enter="query" placeholder="手机号码">
			</div>
			<a class="btn btn-default" @click="query">查询</a>
			<a v-show="hasPermission('sys:withdraw:check')" class="btn btn-primary btn-sm" @click="check"><i class="fa fa-pencil-square-o"></i>&nbsp;审核</a>
			<a v-show="hasPermission('sys:withdraw:remittance')" class="btn btn-primary btn-sm" @click="remittance"><i class="fa fa-pencil-square-o"></i>&nbsp;汇款</a>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
									<div class="form-group">
			   	<div class="col-sm-2 control-label">申请人姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="withdraw.applyname" placeholder="申请人昵称" readonly="readonly"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">申请人电话</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="withdraw.applyphone" placeholder="申请者电话" readonly="readonly"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">提现金额(元)</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="withdraw.money" placeholder="提现金额" readonly="readonly"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">提现后剩余蝉币</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="withdraw.balance" placeholder="提现后剩余蝉币" readonly="readonly"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">拒绝原因</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="withdraw.refusereason" placeholder="拒绝原因"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="pass" value="通过"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-danger" @click="refuse" value="拒绝"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>


	<div v-show="!showList2" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
			<div class="form-group">
				<div class="col-sm-2 control-label">申请人姓名</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="withdraw.applyname" placeholder="申请人昵称" readonly="readonly"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">申请人电话</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="withdraw.applyphone" placeholder="申请者电话" readonly="readonly"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">提现金额</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="withdraw.money" placeholder="提现金额" readonly="readonly"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">提现后剩余蝉币</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="withdraw.balance" placeholder="提现后剩余蝉币" readonly="readonly"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label"></div>
				<input type="button" class="btn btn-primary" @click="remit" value="确定打款"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>


</div>

<script src="../../js/modules/sys/withdraw2.js"></script>
</body>
</html>